package BookTest;

public class C2Ordinary extends C2Fruit{
    public C2Ordinary() {}
    public C2Ordinary(String variety, String colar, int price) {

        super(variety, colar, price);
    }
    public void setPrice(int price) {
        super.setPrice(price);
    }
    @Override
    public void spendMoney(){
        System.out.println("品种："+super.getVariety()+"  颜色："
                +super.getColar()+"  不经过加工的普通水果价格为："+super.getPrice());
    }
}
